\(\int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx\) [188]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 19, antiderivative size = 22 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 (d \cos (a+b x))^{3/2}}{3 b d} \]

[Out]

-2/3*(d*cos(b*x+a))^(3/2)/b/d

Rubi [A] (verified)

Time = 0.02 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2645, 30} \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 (d \cos (a+b x))^{3/2}}{3 b d} \]

[In]

Int[Sqrt[d*Cos[a + b*x]]*Sin[a + b*x],x]

[Out]

(-2*(d*Cos[a + b*x])^(3/2))/(3*b*d)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2645

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> Dist[-(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \sqrt {x} \, dx,x,d \cos (a+b x)\right )}{b d} \\ & = -\frac {2 (d \cos (a+b x))^{3/2}}{3 b d} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 (d \cos (a+b x))^{3/2}}{3 b d} \]

[In]

Integrate[Sqrt[d*Cos[a + b*x]]*Sin[a + b*x],x]

[Out]

(-2*(d*Cos[a + b*x])^(3/2))/(3*b*d)

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86

method result size
derivativedivides \(-\frac {2 \left (d \cos \left (b x +a \right )\right )^{\frac {3}{2}}}{3 b d}\) \(19\)
default \(-\frac {2 \left (d \cos \left (b x +a \right )\right )^{\frac {3}{2}}}{3 b d}\) \(19\)

[In]

int((d*cos(b*x+a))^(1/2)*sin(b*x+a),x,method=_RETURNVERBOSE)

[Out]

-2/3*(d*cos(b*x+a))^(3/2)/b/d

Fricas [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.95 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 \, \sqrt {d \cos \left (b x + a\right )} \cos \left (b x + a\right )}{3 \, b} \]

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="fricas")

[Out]

-2/3*sqrt(d*cos(b*x + a))*cos(b*x + a)/b

Sympy [A] (verification not implemented)

Time = 0.25 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.68 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=\begin {cases} - \frac {2 \sqrt {d \cos {\left (a + b x \right )}} \cos {\left (a + b x \right )}}{3 b} & \text {for}\: b \neq 0 \\x \sqrt {d \cos {\left (a \right )}} \sin {\left (a \right )} & \text {otherwise} \end {cases} \]

[In]

integrate((d*cos(b*x+a))**(1/2)*sin(b*x+a),x)

[Out]

Piecewise((-2*sqrt(d*cos(a + b*x))*cos(a + b*x)/(3*b), Ne(b, 0)), (x*sqrt(d*cos(a))*sin(a), True))

Maxima [A] (verification not implemented)

none

Time = 0.19 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.82 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 \, \left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}}{3 \, b d} \]

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="maxima")

[Out]

-2/3*(d*cos(b*x + a))^(3/2)/(b*d)

Giac [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.95 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2 \, \sqrt {d \cos \left (b x + a\right )} \cos \left (b x + a\right )}{3 \, b} \]

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="giac")

[Out]

-2/3*sqrt(d*cos(b*x + a))*cos(b*x + a)/b

Mupad [B] (verification not implemented)

Time = 0.15 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.82 \[ \int \sqrt {d \cos (a+b x)} \sin (a+b x) \, dx=-\frac {2\,{\left (d\,\cos \left (a+b\,x\right )\right )}^{3/2}}{3\,b\,d} \]

[In]

int(sin(a + b*x)*(d*cos(a + b*x))^(1/2),x)

[Out]

-(2*(d*cos(a + b*x))^(3/2))/(3*b*d)